package com.explorati.design_pattern.behavior.command;

/**
 * 接受者：该角色负责具体实施和执行一个请求
 * 
 * @author explorati
 *
 */
public class CourseVideo {

	private String name;

	public CourseVideo(String name) {
		this.name = name;
	}

	public void open() {
		System.out.println(this.name + "课程视频开放");
	}

	public void close() {
		System.out.println(this.name + "课程视频关闭");
	}
}
